//
//  UIImage+Capture.h
//  HSCategoryKit
//
//  Created by huang on 2018/8/1.
//

#import <UIKit/UIKit.h>

@interface UIImage (Capture)


/**
 截图指定view成图片

 @param view view
 @return UIImage
 */
+ (UIImage *)captureWithView:(UIView *)view;

/**
 截屏

 @return UIImage
 */
+ (UIImage *)captureMainScreen;

@end
